<template>
   <div>
      <h3>Profile</h3>
      <p>我的档案</p>
      <p>name:{{$route.query.name}}</p>
      <p>age:{{$route.query.age}}</p>
   </div>
</template>

<script>
export default {
  name: 'Profile',
  created(){
    console.log("profile created");
  },
  destroyed(){
    console.log("profile destroyed");
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
 
</style>
